static void _httpUnsub(http_entity_t *http)
{
    queue *q = factoryGetQueue(http->queue);
    if (q == NULL) {
        http_set_status(http, 404);
        return;
    }
    
    char *p = http_get_body(http);
    if (strlen(p) == 0) {
        http_set_status(http, 400);
        return;
    }

    int n = factoryUnsub(http->queue, p);
    http_set_count(http, n);
}
